package com.logic.landseaserver.persistence.read;

import com.logic.landseaserver.domain.ApprovalRecord;

public interface ApprovalRecordReadMapper
{
    ApprovalRecord selectByPrimaryKey(Integer id);
    
    /**
     * 
     * [简要描述]：根据taskId和TaskType查询</br>
     * [详细描述]：</br>
     * [作者]：Aaron(2017-10-13)</br>
     *
     * @param record 查询对象
     *
     */
    ApprovalRecord selectByTask(ApprovalRecord record);
    
    // 查询审核用户的名称
    String selectApprovalUserName(Integer userId);
}